package com.mamba.jenkins.controller;

import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * @Author Mamba
 * @Description
 * @create 2021-04-21 14:49
 */

@RestController
public class TestController {

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String test() {
        return "hello jenkins";
    }

    @RequestMapping(value = "/test1", method = RequestMethod.GET)
    public String test1() {
        return "hello test1";
    }

    @RequestMapping(value = "/test2", method = RequestMethod.GET)
    public String test2() {
        return "hello test2";
    }

    @RequestMapping(value = "/test3", method = RequestMethod.GET)
    public String test3() {
        return "hello test3";
    }

    @RequestMapping(value = "/test4", method = RequestMethod.GET)
    public String test4() {
        return "hello test4";
    }

    @RequestMapping(value = "/test5", method = RequestMethod.GET)
    public String test5() {
        return "hello test5";
    }

    @RequestMapping(value = "/test6", method = RequestMethod.GET)
    public String test6() {
        return "hello  test6";
    }
}
